package com.hxzy.service.impl;

import com.hxzy.mapper.ExistsMapper;
import com.hxzy.service.ExistsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 验证值是否存在
 * @author Administrator
 */
@Service
public class ExistsServiceImpl implements ExistsService {

    @Autowired
    private ExistsMapper existsMapper;

    @Override
    public int loginNameExists(String loginName) {
        return this.existsMapper.loginNameExists(loginName);
    }
}
